package com.ssy.lingxi.product.api.model.response;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 品牌实体类
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/28
 */
@Data
public class SimpleBrandResponse implements Serializable {
    private static final long serialVersionUID = -3645736504084010442L;
    /**
     * 主键id
     */
    private Long id;

    /**
     * 品牌名称
     */
    @NotEmpty(message = "品牌名称不能为空")
    private String name;

    /**
     * 品牌logo
     */
    private String logoUrl;

}
